package com.jungle.task.parameter;

import com.jungle.FscContext;
import com.jungle.task.Task;
import com.jungle.task.executor.InsertTaskExecutor;
import com.jungle.task.result.SaveTaskResult;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 李岩 at 2021/10/23.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CompensateTaskParameter implements TaskParameter {
    private FscContext context;

    private Task<SaveTaskParameter, SaveTaskResult> saveTask;

    private List<InsertTaskExecutor> failedExecutors;
}
